<template>
    <div>
        主页
    </div>
</template>

<script lang="ts" setup>

const res = [1, 2, 3]
const it = res.select((item) => item).toArray()
console.log(it);
for (const i of it) {
    console.log(i);
}

</script>
<style lang="less" scoped>
</style>